package com.cdxy.biz.process.impl;

import com.cdxy.biz.process.ISceneBizProcess;
import com.cdxy.model.dto.base.resp.BasePageResp;
import com.cdxy.model.dto.req.SceneDetailReq;
import com.cdxy.model.dto.req.SearchSceneReq;
import com.cdxy.model.dto.resp.SceneDetailResp;
import com.cdxy.model.dto.resp.SearchSceneResp;
import com.cdxy.service.ISceneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: tangy
 * @Date: 2020/3/25 19:12
 */
@Service
public class SceneBizProcessImpl implements ISceneBizProcess {

    @Autowired
    private ISceneService sceneService;

    @Override
    public BasePageResp<SearchSceneResp> searchScene(SearchSceneReq searchSceneReq) {
        return sceneService.searchScene(searchSceneReq);
    }

    @Override
    public SceneDetailResp sceneDetail(SceneDetailReq sceneDetailReq) {
        return sceneService.sceneDetail(sceneDetailReq);
    }
}
